home *** CD-ROM | disk | FTP | other *** search
-
-
-
- rrrreeeeccccttttwwwwrrrr((((3333GGGG)))) rrrreeeeccccttttwwwwrrrr((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- rrrreeeeccccttttwwwwrrrr,,,, llllrrrreeeeccccttttwwww - draws a rectangular array of pixels into the frame
- buffer
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee rrrreeeeccccttttwwwwrrrr((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
- iiiinnnntttteeeeggggeeeerrrr****2222 ppppaaaarrrrrrrraaaayyyy((((****))))
-
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee llllrrrreeeeccccttttwwww((((xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222,,,, ppppaaaarrrrrrrraaaayyyy))))
- iiiinnnntttteeeeggggeeeerrrr****4444 xxxx1111,,,, yyyy1111,,,, xxxx2222,,,, yyyy2222
- iiiinnnntttteeeeggggeeeerrrr****4444 ppppaaaarrrrrrrraaaayyyy((((****))))
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _x_1 expects the lower-left x coordinate of the rectangular region.
-
- _y_1 expects the lower-left y coordinate of the rectangular region.
-
- _x_2 expects the upper-right x coordinate of the rectangular region.
-
- _y_2 expects the upper-right y coordinate of the rectangular region.
-
- _p_a_r_r_a_y expects the array which contains the values of the pixels to be
- drawn. For RGBA values, pack the bits thusly: $$$$_A_A_B_B_G_G_R_R,
- where:
-
- _A_A contains the alpha value,
- _B_B contains the blue value,
- _G_G contains the green value, and
- _R_R contains the red value.
-
- RGBA component values range from 0 to $FF (255). The alpha
- value will be ignored if blending is not active and the machine
- has no alpha bitplanes.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- rrrreeeeccccttttwwwwrrrr and llllrrrreeeeccccttttwwww draw pixels taken from the array _p_a_r_r_a_y into the
- specified rectangular frame buffer region. The system usually draws
- pixels left-to-right, then bottom-to-top. All coordinates are relative to
- the lower-left corner of the window, not the screen or viewport.
-
- Pixels are written to the currently active framebuffer, as specified by
- ddddrrrraaaawwwwmmmmoooo. Thus, to write pixel values to the overlay bitplanes, for
- example, simply set ddddrrrraaaawwwwmmmmoooo to OOOOVVVVEEEERRRRDDDDRRRR.
-
- The number of pixels in _p_a_r_r_a_y is always (x2-x1+1) * (y2-y1+1). If the
- zoom factors set by rrrreeeeccccttttzzzzoooo are both 1.0, the screen region _x_1 through _x_2,
- _y_1 through _y_2, are filled. Other zoom factors result in filling past _x_2
- and/or past _y_2 (_x_1,_y_1 is always the lower-left corner of the filled
- region).
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- rrrreeeeccccttttwwwwrrrr((((3333GGGG)))) rrrreeeeccccttttwwwwrrrr((((3333GGGG))))
-
-
-
- rrrreeeeccccttttwwwwrrrr draws an array of 16-bit words, and therefore should be used only
- to write color index values. llllrrrreeeeccccttttwwww draws an array of 32-bit words.
- Based on the current ppppiiiixxxxmmmmoooodddd, llllrrrreeeeccccttttwwww can draw pixels of 1, 2, 4, 8, 12,
- 16, 24, or 32 bits each. Use it to write packed RGB or RGBA values,
- color index values, or _z values.
-
- ppppiiiixxxxmmmmoooodddd affects the operation of llllrrrreeeeccccttttwwww substantialy, and has no effect on
- the operation of rrrreeeeccccttttwwwwrrrr. By default, llllrrrreeeeccccttttwwww draws 32-bit pixels in the
- format used by ccccppppaaaacccckkkk. Different pixel sizes, framebuffer shifts, scan
- patterns through the framebuffer, and strides through memory, can all be
- specified using ppppiiiixxxxmmmmoooodddd.
-
- rrrreeeeccccttttwwwwrrrr and llllrrrreeeeccccttttwwww leave the current character position unpredictable.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- blendf, dither, lrectr, pixmod, rectco, rectzo
-
- NNNNOOOOTTTTEEEESSSS
- These routines are available only in immediate mode.
-
- On IRIS Indigo, Indy, and XL graphics the pixels written by rrrreeeeccccttttwwwwrrrr and
- llllrrrreeeeccccttttwwww will be dithered if dithering is enabled. To write undithered
- pixels the ddddiiiitttthhhheeeerrrr command must be used to turn dithering off. On the
- Indigo, if dithering is on, pixel images written, then read and written
- again will cause successive dithering to be done each time the pixels are
- written. On Indy and XL graphics, successive dithering will not occur.
-
- On Indigo Entry graphics, when in color index mode with double-buffering
- enabled, 8-bit values are clamped to 4 bits, rather than being masked.
-
- BBBBUUUUGGGGSSSS
- IRIS-4D Personal Iris requires that both |x2-x1| and |y2-y1| be less than
- 2048.
-
- IRIS-4D VGX and VGXT require that both |x2-x1+1| and |y2-y1+1| be less
- than 2048.
-
- The size of the array passed to rrrreeeeccccttttwwwwrrrr is limited to the size of the
- screen.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-